package com.oocl.myHomework.dao;

import com.oocl.myHomework.entity.Person;
import com.oocl.myHomework.list.DoubleLinkedList;

public class CRMDaoImpl implements CRMDao{
	
     public DoubleLinkedList<Person> loadPersons(){
    	 Person[] ps = new Person[]{
    			 new Person(1,"Tom","男","1995.07.03","zhuhai","13515245125"),
    			 new Person(2,"Jerry","男","1995.07.03","zhuhai","13515245125"),
    			 new Person(3,"Nickey","女","1995.07.03","zhuhai","13515245125"),
    			 new Person(4,"Weir","男","1995.07.03","zhuhai","13515245125"),
    			 new Person(5,"Barry","男","1995.07.03","zhuhai","13515245125"),
    			 new Person(6,"kelvin","男","1995.07.03","zhuhai","13515245125"),
    			 new Person(7,"Allen","男","1995.07.03","zhuhai","13515245125"),
    			 new Person(8,"Alan","男","1995.07.03","zhuhai","13515245125"),
    			 new Person(9,"Oscer","男","1995.07.03","zhuhai","13515245125"),
    			 new Person(10,"Evan","男","1995.07.03","zhuhai","13515245125")
    			 
    	 };
    	 
    	 DoubleLinkedList<Person> persons = new DoubleLinkedList<Person>(ps);
     	 
    	 return persons;
     }
}
